import store from '@/store'

export const checkPermission = () => {
  const uc = store.state.role
  return uc.identity === 'admin'
}
